/*******************************************************************************
 * Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 * 
 * This software is the confidential and proprietary information of ETCORE Labs.
 * You shall not disclose such confidential information and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with ETCORE Labs. 
 * 
 * Support can be obtained from support forums at:  http://www.etcore.com/
 * /
 *******************************************************************************/
package etcore.webapp.grouptalk.common.object;

/**
 * An instance of Attachment is a persistence object representing a
 * Message's attachment.
 * 
 * @author ETCORE GroupTalk Developers
 * 
 */

public class Attachment implements java.io.Serializable {

	private static final long serialVersionUID = -8993694423851089329L;
	private Integer id;
	private String name;
	private String attached; // attachment URL
	private String userName;
	private String time;
	private Integer gmid; // message id
	private Integer rankv = 0; // rank value
	public Integer getRankv() {
		return rankv;
	}

	public void setRankv(Integer rankv) {
		this.rankv = rankv;
	}

	/**
	 * Default constructor
	 */
	public Attachment() {
		super();

	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAttached() {
		return attached;
	}

	public void setAttached(String attached) {
		this.attached = attached;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getGmid() {
		return gmid;
	}

	public void setGmid(Integer gmid) {
		this.gmid = gmid;
	}
}
